﻿//-----------------------------------------------------------------------
//<copyright file="ChiTietPhieuNhapBLL.cs
//Code gen by tool.
//</copyright>
//-----------------------------------------------------------------------
using System;
using PMS.Exceptions;
using System.Collections.Generic;
using PMS.DAL;
using PMS.Entity;
namespace PMS.BLL
{
    public class CongNoCuaKhachHangBO: BaseBO
	{
		// Interface Instant Object
		private readonly ICongNoCuaKhachHangDAO CongNoCuaKhachHangInterfaceObject = null;

		// Constructor
        public CongNoCuaKhachHangBO()
		{
            CongNoCuaKhachHangInterfaceObject = new DAL.ServiceFactory<ICongNoCuaKhachHangDAO>().CurrentDAL;
		}
        /// <summary>
        ///
        /// </summary>
        public CongNoCuaKhachHangs GetAllCongNoCuaKhachHang(int songay)
        {
            try
            {
                return CongNoCuaKhachHangInterfaceObject.GetAllCongNoCuaKhachHang(songay);
            }
            catch (Exception ex)
            {
                throw BusinessException.GetException("Business Access GetAllChiTietPhieuNhap Exception", ex);
            }
        }
    }
}
